home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C & C++ Multimedia Cyber Classroom
/
C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso
/
src
/
fig09_07.jar
/
Ch09
/
Fig09_07
/
Point2.h
< prev
Wrap
C/C++ Source or Header
|
1997-08-25
|
316b
|
16 lines
// Fig. 9.7: point2.h
// Definition of class Point
#ifndef POINT2_H
#define POINT2_H
class Point {
public:
Point( int = 0, int = 0 ); // default constructor
~Point(); // destructor
protected: // accessible by derived classes
int x, y; // x and y coordinates of Point
};
#endif